Fast Binary Translation: Translation Efficiency and Runtime Efficiency

نویسندگان

  • Mathias Payer
  • Thomas Gross
چکیده

Fast binary translation is a key component for many modern software techniques. This paper reflects on the implementation of fastBT, a generator for low-overhead, tablebased dynamic (just-in-time) binary translators. We discuss the most challenging sources of overhead, propose optimizations to further reduce these penalties, and present a detailed performance analysis with different approaches to translate indirect control transfers. To allow comparison with other systems the paper includes an empirical evaluation of fastBT relative to three other binary translation systems (DynamoRIO, HDTrans, and PIN). The fastBT generator is architecture-neutral but this paper’s analysis and performance data focus on IA-32 Linux. fastBT performs well in practice: we report an overhead of 0% to 10% for the majority of benchmarks. fastBT uses a trace cache and trampolines to obtain efficiency in translation and execution of the translated program. The keys to fastBT’s good performance are a configurable inlining mechanism optimizations for the different forms of indirect jumps. To ease development of a binary translator, the translation actions of fastBT are specified in high-level abstractions that are compiled into fastBT’s translation tables. This table generator allows a compact description of the transformations that the binary translator effects in the translated code.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Investigating Translation Strategies of Culture-Specific Items in Alignment with Nord’s Binary Translation Typology: A Case Study of Unaccustomed Earth

  Culture is an extremely complex concept. Translating cultural elements is a demanding task due to the fact that these elements comprise specific meanings and implications belonging exclusively to the lan-guage and culture from which they have emerged. Regarding this point, the present article investigated the strategies employed for translating culture-specific items (CSIs) in an English nov...

متن کامل

Practical spoken language translation using compiled feature structure grammars

Practical work on spoken language translation must pursue two types of efficiency: computational efficiency, and “language engineering” efficiency. This paper describes the design, implementation, and evaluation of the GPL-based framework for spoken language translation that addresses both of these goals. In this framework, computational grammars are written in GPL, an easy-to-use imperative pr...

متن کامل

A General Persistent Code Caching Framework for Dynamic Binary Translation (DBT)

Dynamic binary translation (DBT) translates binary code from one instruction set architecture (ISA) to another (same or different) ISA at runtime, which makes it very useful in many applications such as system virtualization, whole program analysis, system debugging, and system security. Many techniques have been proposed to improve the efficiency of DBT systems for long-running and loop-intens...

متن کامل

Analysis of Virtual Method Invocation for Binary Translation

The University of Queensland Binary Translator (UQBT ) is a static binary translation framework that allows for the translation of binary, executable programs, from one architecture to another one. Using different specification files, the UQBT can be easily tailored for either a new source or target architecture. UQBT employs sophisticated analyses in order to abstract the binary code from the ...

متن کامل

Binary Translation: Static, Dynamic, Retargetable?

Cristina Cifuentes Department of Computer Science The University of Queensland Brisbane Qld 4072, Australia [email protected] Vishv Malhotra Department of Computer Science University of Tasmania Hobart Tas 7001, Australia [email protected] Abstract The porting of software to newer and faster machines using static binary translation techniques has proved successful to a large extent. Curren...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009